<table class="table table-striped table-bordered table-hover" id="activity">
    <thead>
    <tr>
        <th>ID</th>
        <th>昵称</th>
        <th>手机号</th>
        {{--<th>姓名</th>
        <th>年龄</th>
        <th>性别</th>
        <th>推荐码</th>
        <th>工作</th>
        <th>微信群数量</th>
        <th>经历</th>
        <th>报名理由</th>--}}
        <th>身份状态</th>
        <th class="visible-lg">创建时间</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    @foreach ($users as $user)
        <tr>
            <td>{!! $user->id !!}</td>
            <td>{!! $user->nick_name !!}</td>
            <td>{!! $user->mobile !!}</td>
            {{--<td>{!! $user->age !!}</td>
            <td>
                {!! $user->sex==1?'男':'女'!!}
            </td>
            <td>{!! $user->recommendation_code !!}</td>
            <td>{!! $user->work !!}</td>
            <td>{!! $user->wechat_num !!}</td>
            <td>{!! $user->experience !!}</td>
            <td>{!! $user->reason !!}</td>--}}
            <td>{!! $user->status == 1?'已通过':($user->status==2?'已拒绝':'待审核') !!}</td>
            <td class="visible-lg">{!! $user->created_at?$user->created_at:date('Y-m-d H:i:s',time())!!}</td>
            <td>
                <a href="{{route('admin.users.activity.detail',['id'=>$user->id])}}"
                   class="btn btn-xs btn-success">
                    <i class="fa fa-eye" data-toggle="tooltip" data-placement="top" title="查看"></i></a>
            </td>
            {{--<td class="visible-lg">{!! $user->updated_at->diffForHumans() !!}</td>--}}
        </tr>
    @endforeach
    </tbody>
</table>
